#include "LocalConnection.h"
#include "EventEngine.h"

using namespace ENE;

void LocalConnection::setEventEngine(boost::shared_ptr<EventEngine> eventEngine)
{
	m_eventEngine = eventEngine;
}

void LocalConnection::sendEvent(boost::shared_ptr<const IGameEvent> event) const
{
	//Ajout l'event au moteur d'event local
	m_eventEngine->pushEvent(event);
}